import { Module } from '@nestjs/common';
import { ConfigModule } from '@nestjs/config';
import { TypeOrmModule } from '@nestjs/typeorm';
import { GuardEntity } from './entities/guard.entity';
import { GuardService } from './services/guard.service';
import { GuardAdminController } from './controllers/admin/guard.admin.controller';

@Module({
  imports: [ConfigModule, TypeOrmModule.forFeature([GuardEntity])],
  controllers: [GuardAdminController],
  providers: [GuardService],
  exports: [GuardService]
})
export class GuardModule {}
